/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 说明：
 * Entity Name 满就送
 * @Author：李智深
 * @Date：2012-03-14
 */
@Entity
@Table(name="ruipeng_tb_TGift")
public class TGift implements Serializable{

	private static final long serialVersionUID = 1L;

	private String GiftID;//赠送编号CHAR(15)
	
	private double Valve;//上阀DECIMAL(20,3)
	
	private double Money;//赠送金额
	
	private byte Type;//送类型TINYINT 1 为送优惠券 2为送商品
	
	private String CommodityID;//赠送商品编号 CHAR(15)

	@Id
	@Column(name = "GiftID", length=15)
	public String getGiftID() {
		return GiftID;
	}

	public void setGiftID(String giftID) {
		GiftID = giftID;
	}

	@Column(name = "Valve", precision = 20, scale = 3)
	public double getValve() {
		return Valve;
	}

	public void setValve(double valve) {
		Valve = valve;
	}

	@Column(name = "Money", precision = 20, scale = 3)
	public double getMoney() {
		return Money;
	}

	public void setMoney(double money) {
		Money = money;
	}

	@Column(name = "Type")
	public byte getType() {
		return Type;
	}

	public void setType(byte type) {
		Type = type;
	}

	@Column(name = "CommodityID", length=15)
	public String getCommodityID() {
		return CommodityID;
	}

	public void setCommodityID(String commodityID) {
		CommodityID = commodityID;
	}
}
